package com.sniper.model;

import com.sniper.data.BrandType;

import java.util.Date;

/**
 * 商品品牌,包含多个商品
 * 品牌下面的商品，可以根据不同的分销级别设置不同价格
 *
 * @author suzhen
 * @create 2017/10/16
 */
public class DbtBrand extends BaseEntity {
    private static final long serialVersionUID = -5246345778723050683L;
    private String id;
    private String title;
    private String description;
    private Date createTime = new Date();
    private AdminUser adminUser;
    /**
     * 品牌url介绍
     */
    private String url;
    /**
     * 状态
     */
    private Boolean off;

    /**
     * 类型，品牌直销，代理分销
     */
    private BrandType brandType = BrandType.BRAND_DIRECT;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public AdminUser getAdminUser() {
        return adminUser;
    }

    public void setAdminUser(AdminUser adminUser) {
        this.adminUser = adminUser;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Boolean getOff() {
        return off;
    }

    public void setOff(Boolean off) {
        this.off = off;
    }

    public BrandType getBrandType() {
        return brandType;
    }

    public void setBrandType(BrandType brandType) {
        this.brandType = brandType;
    }
}
